package exception;

/**
 * @author GeChen
 * @Description
 * @date 2020/6/16 17:16
 */
public class GlobalException extends RuntimeException {
    private static final long serialVersionUID = 1L;
    private String codeMsg;

    public GlobalException(String codeMsg) {
        super(codeMsg.toString());
        this.codeMsg = codeMsg;
    }

    public String getCodeMsg() {
        return codeMsg;
    }
}
